package cn.est.dao;

import cn.est.pojo.Malfunction;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface MalfunctionMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Malfunction record);

    int insertSelective(Malfunction record);

    Malfunction selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Malfunction record);

    int updateByPrimaryKey(Malfunction record);

    List<Malfunction> listModelId(Long modelId);
}